package 数组的操作;

public class 九九乘法表 {
    public static void main(String[] args) {
        int a[] = new int[9];
        for (int i = 0; i < 9; i++) {
            a[i] = i+1;
        }

        for (int i = 0; i < 9; i++) {
            for (int j = 0; j <= i ; j++) {
                System.out.print(a[i]+"*"+a[j]+"="+a[i]*a[j]+" ");
            }
            System.out.println();
        }

    }
}
